squresum = 0
sumsqure = 0

for x in range(1,101):
    squresum += x ** 2
for x in range(1,101):
    sumsqure += x

print(sumsqure ** 2 - squresum)